package org.fxcontainer.controls.ext
{

	import mx.controls.DataGrid;
	import org.fxcontainer.controls.IControl;

	public class FxGrid extends DataGrid implements IControl
	{

		public function FxGrid()
		{
			super();
		}

		/**
		 * The control name.
		 */
		private var _controlName:String;

		public function controlName():String
		{
			if (_controlName == "")
			{
				_controlName=id;
			}
			return this._controlName;
		}

		public function set controlname(controlName:String):void
		{
			this._controlName=controlName;
		}

	}
}